package com.blockchain.coupon.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * Created by flynn on 17-3-13.
 */
@Controller
@RequestMapping(value = "/main")
public class MainController {

    @RequestMapping(value = "/toLogin", method = RequestMethod.GET)
    public String toLogin() {
        return "/bank/login";
    }

    @RequestMapping(value = "/toFirstTrial", method = RequestMethod.GET)
    public String toFirstTrial() { return "/bank/firstTrial"; }

    @RequestMapping(value = "/toReCheck", method = RequestMethod.GET)
    public String toReCheck() { return "/bank/recheck"; }
}
